package com.xy.biz.xd.domain.strategy;

import com.xy.biz.xd.domain.bo.DocumentFlowBO;
import com.xy.biz.xd.domain.req.GenerateDocumentRequest;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.io.IOException;
import java.util.Collection;
import java.util.List;

/**
 * @author Greekn Zhang
 * @date 2021/7/1 14:04
 * @description
 */
public interface ExcelModelStrategy {
    final static String EXCEL_MOD = "excel_mod";

    /**
     * 根据模板类型创建表格
     */
    SXSSFWorkbook generate(GenerateDocumentRequest request) throws IOException;
}
